package com.xinhuajs.articlemg.mapper;

import java.util.List;
import java.util.Map;

import com.xinhuajs.articlemg.model.IcRegiDetail;
import com.xinhuajs.articlemg.model.InvcodeInfo;
import com.xinhuajs.articlemg.pojo.Area;
import com.xinhuajs.articlemg.pojo.Invcode;
import com.xinhuajs.articlemg.pojo.Typecode;

public interface InvcodeMapper {
	public int getInvcodeCount(Map<String, Object> paramMap);
	
    public List<InvcodeInfo> getInvcodeInfoByPage(Map<String, Object> paramMap);
    
    public void addTypecode(Typecode typecode);
    
    public void addInvcode(Invcode invc);
    
    public List<Area>  getAllCities();
    
    public List<Area> getAllAreasByCity(String pcode);
    
    public int getIcRegiDetlCount(Map<String, Object> paramMap);
    
    public List<IcRegiDetail> getIcRegiDetlByPage(Map<String, Object> paramMap);
    
    public int deleteIcByInvid(String invid);
    
    public int updateIcStat(Invcode invcode);
    
    public Invcode getIcByInvid(String invid);
    
    public void updateIcUnit(Invcode invcode);
    
    public void updateTerminal(Map<String, Object> paramMap);
}
